/*
*所有关于Supplier类的业务代码接口应在此处编写
*/
using VOL.Core.BaseProvider;
using VOL.Entity.DomainModels;
using VOL.Core.Utilities;
using System.Linq.Expressions;
using MyMES.Dto;
using MyMES.Infrastructure;
namespace MyMES.IServices
{
    public partial interface ISupplierService
    {
        /// <summary>
        /// 获取供应商信息
        /// </summary>
        /// <returns></returns>
        Task<APIPage<Supplier>> GetSupplierList(GetSupplierPageListDTO request);
        /// <summary>
        /// 新增供货商信息
        /// </summary>
        /// <param name="param">供货商参数</param>
        /// <returns></returns>
        Task<int> CreateSupplier(Supplier param);
        /// <summary>
        /// 删除供货商信息
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<int> DeleteSupplier(Supplier param);
        /// <summary>
        /// 修改供货商信息
        /// </summary>
        /// <param name="param">供货商参数</param>
        /// <returns></returns>
        Task<int> UpdateSupplier(Supplier param);
    }
 }
